package com.lrkj.waitress.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.lrkj.waitress.domain.RepairManage;

/**
 * 报修设置Mapper接口
 *
 * @author yajun_ren
 * @date 2022-03-22
 */
public interface RepairManageMapper
{
    /**
     * 查询报修设置
     *
     * @param id 报修设置ID
     * @return 报修设置
     */
    public RepairManage selectRepairManageById(String id);

    /**
     * 查询报修设置列表
     *
     * @param repairManage 报修设置
     * @return 报修设置集合
     */
    public List<RepairManage> selectRepairManageList(RepairManage repairManage);

    /**
     * 新增报修设置
     *
     * @param repairManage 报修设置
     * @return 结果
     */
    public int insertRepairManage(RepairManage repairManage);

    /**
     * 修改报修设置
     *
     * @param repairManage 报修设置
     * @return 结果
     */
    public int updateRepairManage(RepairManage repairManage);

    /**
     * 删除报修设置
     *
     * @param id 报修设置ID
     * @return 结果
     */
    public int deleteRepairManageById(String id);

    /**
     * 批量删除报修设置
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteRepairManageByIds(String[] ids);

    /**
     * 批量新增报修设置
     *
     * @param repairManages
     * @return 结果
     */
    public int batchAddData(@Param("saveBeans") List<RepairManage> repairManages);
}
